<?php


namespace app\store\validate;


use think\Validate;

class UserEditPayPassword extends Validate
{
    protected $rule = [
        'payPassword' => 'require|number|length:6',
//        'code' => 'require|number|length:4',
    ];
    protected $message  =   [
        'payPassword.require' => '请输入支付密码',
        'payPassword.number' => '支付密码只能是数字',
        'payPassword.length'     => '支付密码长度6字符',
//        'code.require' => '验证码必须填写',
//        'code.number'     => '验证码只能是数字',
//        'code.length'     => '验证码只能4位数字',
    ];
}